<?php

namespace App\Event;

use Symfony\Contracts\EventDispatcher\Event;

/**
 * 用户组删除事件
 * Class AdminUserGroupRemoveEvent
 * @package App\Event
 */
class AdminUserGroupRemoveEvent extends Event {

    public const NAME = 'admin_user_group:remove';
    protected $admin_user_group_id;

    public function __construct (int $admin_user_group_id) {
        $this->admin_user_group_id = $admin_user_group_id;
    }

    public function getAdminUserGroupId () {
        return $this->admin_user_group_id;
    }
}